package parser;

import constants.Constants;

public class EntityElement {

	/**
	 * simple wrapper class
	 */
	private Constants.STYLE type;
	private int startIndex;
	private String element;
	private int docID;
	
	public EntityElement(int docID, int startIndex, String element, Constants.STYLE type) {
		this.startIndex = startIndex;
		this.element = element;
		this.type = type;
		this.docID = docID;
	}

	public int getStartIndex() {
		return startIndex;
	}

	public String getElement() {
		return element;
	}
	
	public Constants.STYLE getType() {
		return type;
	}
	
	public int getDocID() {
		return docID;
	}
}
